﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestByWire.Test.Fakes;

namespace TestByWire.Test
{
    [TestClass]
    [UseAdditionalTestTarget(typeof(ICalculator), typeof(RealCalculator))]
    public class MyTestClass : TestTarget<Computer>
    {
        [TestMethod]
        public void ReturnedCalculatorMustBeRealImplementation()
        {
            var calculator = When.Calling.Calculator;

            Assert.IsInstanceOfType(calculator, typeof(RealCalculator));
        }
    }
}
